LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

IndexOf Method (ListWithEvents<T>)

Show in webframe






The object to locate in the ListWithEvents<T>. The value can be null for reference types.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire ListWithEvents<T>.
Syntax
public int IndexOf( 
   T item
)
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
'Usage
 
Dim instance As ListWithEvents(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)

            

            
public: int IndexOf( 
   T* item
) 
public:
int IndexOf( 
   T* item
) 

Parameters

item
The object to locate in the ListWithEvents<T>. The value can be null for reference types.

Return Value

The zero-based index of the first occurrence of item within the ListWithEvents<T>, if found; otherwise, -1.
Requirements

Target Platforms

See Also

Reference

ListWithEvents<T> Class
ListWithEvents<T> Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.